﻿@using HiLand.Utility4.MVC;
@using HiLand.Framework.BusinessCore.BLL;
@{
    ViewBag.Title = "后台管理";
    string currentUserName = string.Empty;
    if(BusinessUserBLL.IsLogined)
    {
        currentUserName = BusinessUserBLL.CurrentUserName;
    }

    string frontMainUrl = Url.Action("Index", "Home", new { area = "" });
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>@ViewBag.Title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="@Url.Content("~/Content/reset.css")" type="text/css" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/style.css")" type="text/css" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/adminStyle.css")" type="text/css" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/notificationStyle.css")" type="text/css" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/invalid.css")" type="text/css" media="screen" />
    <link rel="stylesheet" href="@Url.Content("~/Content/datePicker.css")" type="text/css" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/simpla.jquery.configuration.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/facebox.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.wysiwyg.js")"></script>
    <script src="@Url.Content("~/Scripts/jQuery.hiland.general.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jQuery.form.2.84.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jQuery.tools.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jQuery.gbfSubmit.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/date.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.datePicker.min-2.1.2.js")" type="text/javascript"></script>
</head>
<body>
    <div id="body-wrapper">
        <!-- Wrapper for the radial gradient background -->
        <div id="sidebar">
            <div id="sidebar-wrapper">
                <!-- Sidebar with logo and menu -->
                <h1 id="sidebar-title">
                    <a href="@frontMainUrl">Legou365</a></h1>
                <!-- Logo (221px wide) -->
                <img id="logo" style="margin-left:5px;" src="@Url.Content("~/Content/Images/logo.jpg")" alt="logo" />
                <!-- Sidebar Profile links -->
                <div id="profile-links">
                    Hello, @currentUserName
                    <br />
                    <a href="@frontMainUrl" title="View the Site">View the Site</a> | <a href="@Url.Action("Logout", "Account")" title="Sign Out">
                        Sign Out</a>
                </div>
                <ul id="main-nav">
                    <!-- Accordion Menu -->
                    <li><a id="aDashboardSection" href="@Url.Action("Index", "Main")" class="nav-top-item no-submenu">
                        <!-- Add the class "no-submenu" to menu items with no sub menu -->
                        仪表盘 </a></li>
                    <li><a id="aSecuredLoanSection" href="#" class="nav-top-item">
                        <!-- Add the class "current" to current menu item -->
                        产品</a>
                        <ul>
                            <li><a  id="aProductCategory"  href="@Url.Action("ProductCategoryList", "Product")">产品类别</a></li>
                            <li><a  id="aProductList"  href="@Url.Action("ProductList", "Product")">产品信息</a></li>
                        </ul>
                    </li>
                    <li><a id="aUnSecuredLoanSection" href="#" class="nav-top-item">其他</a>
                        <ul>
                            <li><a id="aUnSecuredLoanList" href="@Url.Action("UnSecuredLoanList", "UnSecured")">
                                其他</a></li>
                        </ul>
                    </li>
                    <li><a id="aSettingSection" href="#" class="nav-top-item">设置</a>
                        <ul>
                            <li><a id="aChangePassword" href="@Url.Action("ChangePassword", "Account")">修改口令</a></li>
                            <li><a id="aSystemSetting" href="#">系统设置</a></li>
                            <li><a id="aCacheInfo" href="@Url.Action("CacheInfo", "Main")">系统缓存</a></li>
                            <li><a id="aSoftVersion" href="@Url.Action("SoftVersion", "Main")">系统版本</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
        <!-- End #sidebar -->
        <div id="main-content">
            <!-- Page Head -->
            <p style="text-align: right">
                欢迎使用Legou365管理控制台<a name="#top"></a>
            </p>
            <div class="clear">
            </div>
            @RenderBody()
            <div id="footer">
                <small>&copy; Copyright @DateTime.Today.Year Legou365 | <a href="#top">Top</a> </small>
            </div>
        </div>
    </div>
</body>
</html>
